﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="witness.aspx.cs" Inherits="witness" %>

<%@ Register Src="UserControl/MainTopMenu2.ascx" TagName="TopMenu2" TagPrefix="Main" %>
<%@ Register Src="UserControl/RightTeam.ascx" TagName="Team" TagPrefix="Right" %>
<%@ Register Src="UserControl/LeftWitness.ascx" TagName="LeftMenu" TagPrefix="Witness" %>
<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="In-Down">
  
  <div id="All-Table">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <main:TopMenu2 ID="topMenu2" runat="server" />
      <tr>
        <td colspan="2" valign="top" class="abc">
        <witness:LeftMenu ID="leftMenu" runat="server" />
          <div id="Show-Table"> 
            <div class="Pon">首頁&gt;美麗的見證</div>
            <h1>美麗的見證</h1>
            <div id="Show-Down">
                <asp:Repeater ID="RepeaterWitness" runat="server" onitemdatabound="RepeaterWitness_ItemDataBound">
                    <ItemTemplate>
                        <a href="witness_in.aspx?id=<%# Eval("PostId") %>"><div class="Share-table">
                <div class="Share-PP"><img src="upload/<%# Eval("PicFileName")%>" width="293" height="203" /></div>
                <div class="Share-title"><asp:Literal ID="ltlTitle" runat="server" Text='<%# Bind("Title") %>'></asp:Literal></div>
                <div class="Share-ob"><asp:Literal ID="ltlContent" runat="server" Text=''></asp:Literal></div>
              </div></a>                        
                    </ItemTemplate>
                </asp:Repeater>
                <div id="Number-Page">
                <Webdiyer:AspNetPager ID="AspNetPager1" runat="server"
                    OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="10"
                    ShowPageIndexBox="Never" ShowFirstLast="false" PrevPageText="<span class='Btn-black'>上一頁&nbsp;&nbsp;</span>" NextPageText="<span class='Btn-black'>&nbsp;&nbsp;下一頁</span>" NumericButtonTextFormatString="<span class='Btn-black'>‧</span><span class='Btn-black'>{0}</span>" />                
                </div>              
            </div>
          </div>
          <right:Team ID="rightTeam" runat="server" />
          </td>
       </tr>
    </table>
  </div>
</div>
</asp:Content>

